<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>demo | saqqdy</title>
    <meta name="description" content="Development Diary">
    <link rel="stylesheet" href="/assets/style.80a65709.css">
    <link rel="modulepreload" href="/assets/app.dde1ebf2.js">
    <link rel="modulepreload" href="/assets/idea_index.md.27545d5d.lean.js">
    
    <script>(()=>{const e=localStorage.getItem("vitepress-theme-appearance"),a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-563fb8ec><!--[--><!--]--><!--[--><span tabindex="-1" data-v-3a05a79e></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-3a05a79e> Skip to content </a><!--]--><!----><header class="VPNav no-sidebar" data-v-563fb8ec data-v-abd9cda6><div class="VPNavBar" data-v-abd9cda6 data-v-537a04d8><div class="container" data-v-537a04d8><div class="VPNavBarTitle" data-v-537a04d8 data-v-0f3dedc4><a class="title" href="/" data-v-0f3dedc4><!----><!--[-->saqqdy<!--]--></a></div><div class="content" data-v-537a04d8><!----><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-537a04d8 data-v-25d4a770><span id="main-nav-aria-label" class="visually-hidden" data-v-25d4a770>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/" data-v-25d4a770 data-v-7c679fcd data-v-61206298><!--[-->首页<!--]--><!----></a><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-25d4a770 data-v-3e73417b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-3e73417b><span class="text" data-v-3e73417b><!----> 笔记 <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-3e73417b><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-3e73417b><div class="VPMenu" data-v-3e73417b data-v-2aae71d0><div class="items" data-v-2aae71d0><!--[--><!--[--><div class="VPMenuGroup" data-v-2aae71d0 data-v-40cfd924><p class="title" data-v-40cfd924>前端技术</p><!--[--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="/node/" data-v-7833b9b8 data-v-61206298><!--[-->node<!--]--><!----></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="/deno/" data-v-7833b9b8 data-v-61206298><!--[-->deno<!--]--><!----></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="/shell/" data-v-7833b9b8 data-v-61206298><!--[-->shell<!--]--><!----></a></div><!--]--><!--]--></div><!--]--><!--[--><div class="VPMenuGroup" data-v-2aae71d0 data-v-40cfd924><p class="title" data-v-40cfd924>其他</p><!--[--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="/mac/" data-v-7833b9b8 data-v-61206298><!--[-->mac &amp; linux<!--]--><!----></a></div><!--]--><!--]--></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/idea/" data-v-25d4a770 data-v-7c679fcd data-v-61206298><!--[-->想法<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/deno/" data-v-25d4a770 data-v-7c679fcd data-v-61206298><!--[-->Deno<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/projects/" data-v-25d4a770 data-v-7c679fcd data-v-61206298><!--[-->项目<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/knowledge/" data-v-25d4a770 data-v-7c679fcd data-v-61206298><!--[-->知识点<!--]--><!----></a><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-25d4a770 data-v-3e73417b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-3e73417b><span class="text" data-v-3e73417b><!----> 更多 <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-3e73417b><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-3e73417b><div class="VPMenu" data-v-3e73417b data-v-2aae71d0><div class="items" data-v-2aae71d0><!--[--><!--[--><div class="VPMenuGroup" data-v-2aae71d0 data-v-40cfd924><p class="title" data-v-40cfd924>链接</p><!--[--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="https://github.com/saqqdy" target="_blank" rel="noopener noreferrer" data-v-7833b9b8 data-v-61206298><!--[-->Github<!--]--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" height="24px" viewbox="0 0 24 24" width="24px" class="icon" data-v-61206298><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"></path></svg></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="https://github.com/saqqdy/saqqdy.github.io#readme" target="_blank" rel="noopener noreferrer" data-v-7833b9b8 data-v-61206298><!--[-->HomePage<!--]--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" height="24px" viewbox="0 0 24 24" width="24px" class="icon" data-v-61206298><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"></path></svg></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="https://github.com/saqqdy/saqqdy.github.io/issues" target="_blank" rel="noopener noreferrer" data-v-7833b9b8 data-v-61206298><!--[-->Bugs<!--]--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" height="24px" viewbox="0 0 24 24" width="24px" class="icon" data-v-61206298><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"></path></svg></a></div><!--]--><!--]--></div><!--]--><!--[--><div class="VPMenuGroup" data-v-2aae71d0 data-v-40cfd924><p class="title" data-v-40cfd924>作者</p><!--[--><!--[--><div class="VPMenuLink" data-v-40cfd924 data-v-7833b9b8><a class="VPLink link" href="http://www.saqqdy.com" target="_blank" rel="noopener noreferrer" data-v-7833b9b8 data-v-61206298><!--[-->saqqdy<!--]--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" height="24px" viewbox="0 0 24 24" width="24px" class="icon" data-v-61206298><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"></path></svg></a></div><!--]--><!--]--></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-537a04d8 data-v-1f89e0f4><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" aria-label="toggle dark mode" data-v-1f89e0f4 data-v-d0e0cc08 data-v-12faba9b><span class="check" data-v-12faba9b><span class="icon" data-v-12faba9b><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-d0e0cc08><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-d0e0cc08><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div><!----><div class="VPFlyout VPNavBarExtra extra" data-v-537a04d8 data-v-3706a661 data-v-3e73417b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-3e73417b><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-3e73417b><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle><circle cx="5" cy="12" r="2"></circle></svg></button><div class="menu" data-v-3e73417b><div class="VPMenu" data-v-3e73417b data-v-2aae71d0><!----><!--[--><!--[--><!----><div class="group" data-v-3706a661><div class="item appearance" data-v-3706a661><p class="label" data-v-3706a661>Appearance</p><div class="appearance-action" data-v-3706a661><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" aria-label="toggle dark mode" data-v-3706a661 data-v-d0e0cc08 data-v-12faba9b><span class="check" data-v-12faba9b><span class="icon" data-v-12faba9b><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-d0e0cc08><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-d0e0cc08><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div></div></div><!----><!--]--><!--]--></div></div></div><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-537a04d8 data-v-1d5e0e54><span class="container" data-v-1d5e0e54><span class="top" data-v-1d5e0e54></span><span class="middle" data-v-1d5e0e54></span><span class="bottom" data-v-1d5e0e54></span></span></button></div></div></div><!----></header><!----><!----><div class="VPContent" id="VPContent" data-v-563fb8ec data-v-0cacb8c4><div class="VPDoc" data-v-0cacb8c4 data-v-33ed559f><div class="container" data-v-33ed559f><div class="aside" data-v-33ed559f><div class="aside-curtain" data-v-33ed559f></div><div class="aside-container" data-v-33ed559f><div class="aside-content" data-v-33ed559f><div class="VPDocAside" data-v-33ed559f data-v-48a92b0c><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline has-outline" data-v-48a92b0c data-v-66cddb0d><div class="content" data-v-66cddb0d><div class="outline-marker" data-v-66cddb0d></div><div class="outline-title" data-v-66cddb0d>On this page</div><nav aria-labelledby="doc-outline-aria-label" data-v-66cddb0d><span class="visually-hidden" id="doc-outline-aria-label" data-v-66cddb0d> Table of Contents for current page </span><ul class="root" data-v-66cddb0d><!--[--><li style="" data-v-66cddb0d><a class="outline-link" href="#h2" data-v-66cddb0d>h2</a><!----></li><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-48a92b0c></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-33ed559f><div class="content-container" data-v-33ed559f><!--[--><!--]--><main class="main" data-v-33ed559f><div style="position:relative;" class="vp-doc _idea_index" data-v-33ed559f><div><h1 id="h1" tabindex="-1">h1 <a class="header-anchor" href="#h1" aria-hidden="true">#</a></h1><h2 id="h2" tabindex="-1">h2 <a class="header-anchor" href="#h2" aria-hidden="true">#</a></h2><h3 id="h3" tabindex="-1">h3 <a class="header-anchor" href="#h3" aria-hidden="true">#</a></h3><h3 id="badge" tabindex="-1">Badge <a class="header-anchor" href="#badge" aria-hidden="true">#</a></h3><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>这是一个提示</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>这是一个警告</p></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>这是一个危险警告</p></div><details class="details custom-block"><summary>Details</summary><p>这是一个详情块，在 IE / Edge 中不生效</p></details></div></div></main><footer class="VPDocFooter" data-v-33ed559f data-v-78728cff><div class="edit-info" data-v-78728cff><!----><!----></div><!----></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
    <script>__VP_HASH_MAP__ = JSON.parse("{\"deno_index.md\":\"7731ad2d\",\"diary.md\":\"a7d4a4b4\",\"idea_index.md\":\"27545d5d\",\"index.md\":\"f8974877\",\"knowledge_css-html.md\":\"a3caef25\",\"knowledge_index.md\":\"239fb526\",\"knowledge_javascript.md\":\"7ba028fa\",\"knowledge_packages.md\":\"6ed51d4f\",\"knowledge_typescript.md\":\"c96ce83c\",\"knowledge_vue.md\":\"0e841890\",\"knowledge_write.md\":\"9771b77f\",\"mac_index.md\":\"2949be67\",\"node_index.md\":\"05a84e5a\",\"projects_index.md\":\"f7b4cd77\",\"shell_index.md\":\"88e53a43\"}")</script>
    <script type="module" async src="/assets/app.dde1ebf2.js"></script>
    
  </body>
</html>